
<div class="centered">

List of players (<?php echo count($plist)?>)
<br />
<br />

<table class="bigtable">
<thead class="ui-widget-header">
<tr>
<th>Id</th>
<th>Player</th>
<th>Country</th>
<th>City</th>
</tr>
</thead>
<tbody class="ui-widget-content">
<?php foreach ($plist as $p) {?>
<tr class="<?php echo cycle('stripe1','stripe0') ?>">
	<td><?php echo $p->player_id?></td>
	<td><a class="link" href="player.php?id=<?php 
		echo $p->player_id ?>"><?php echo $p->surname ?>&nbsp;<?php echo $p->name?></a></td>
	<td><?php echo $p->country_name?></td>
	<td><?php echo $p->city_name?></td>
</tr>
<?php }?>
</tbody>
</table>
</div>